package br.com.single.publico;

import javax.persistence.Column;
import javax.persistence.Embeddable;
import org.springframework.roo.addon.jpa.identifier.RooIdentifier;

@Embeddable
@RooIdentifier(dbManaged = true)
public final class CdccustoPK {

	@Column(name = "codigofilial", nullable = false,columnDefinition="codigonumero")
    private Integer codigofilial;

	@Column(name = "codigoccusto", nullable = false,columnDefinition="codigonumero")
    private Integer codigoccusto;

	public CdccustoPK(Integer codigofilial, Integer codigoccusto) {
        super();
        this.codigofilial = codigofilial;
        this.codigoccusto = codigoccusto;
    }

	private CdccustoPK() {
        super();
    }

	public Integer getCodigofilial() {
        return codigofilial;
    }

	public Integer getCodigoccusto() {
        return codigoccusto;
    }
}
